///Implementation of the Groovey Transformer List class

#include "gtransformer_list.hpp"

GTransformer_List::GTransformer_List()
{
}/////////////////////////Transformer List Constructor

void GTransformer_List::addTransform(const GTransformer& GTrans)
{
    transforms.push_back(GTrans); ////robots in disguise...
}/////////////////////////addTrans()

void GTransformer_List::Feed_once(GParticle_Set& GPSet)
{
    for (std::list<GTransformer>::iterator i = transforms.begin(); i != transforms.end(); i++){
        GPSet.manipParticles(*i);
    }
}/////////////////////////Feed_once()

void GTransformer_List::Give(GParticle_Set& GPSet)
{
    p_set = &GPSet;
}/////////////////////////Give()

bool GTransformer_List::LaL()
{
    bool bowChickaWowWow = p_set->howWeRollin(); ///that's right. I'm wasting an entire set of cycles
    											 ////just so that my code looks more awesome.
    return bowChickaWowWow;
}/////////////////////////Locked_and_loaded()

void GTransformer_List::Again()
{
    this->Feed_once(*p_set);
}/////////////////////////Again()

GTransformer_List::~GTransformer_List()
{
    ///We'll need this later. Besides... I needed to type something destructive. Woo!
}/////////////////////////DeeeeeeeeeeeSTROY!!!! *boom bam POW!*
